package com.cloudm.technician.ui.modules.cloudm_box.transfer

import com.cloudm.technician.data.model.SearchInfo
import com.cloudm.technician.ui.base.BaseListView
import com.cloudm.technician.ui.base.BasePresenter

/**
 * 作者: wesley
 * 时间: 2017/12/24
 * 描述: 移交的协议接口
 */
interface TransferContract {

    interface View : BaseListView<ArrayList<SearchInfo>> {

        fun showSearchValueEmpMsg()

        fun showLoadingView()

        fun transferSuccess()

        fun transferFailure(errorMsg: String)

        fun showTransferDialog()

        fun hideTransferDialog()
    }

    interface Presenter : BasePresenter {


        fun search(value: String?)

        fun transfer(deviceId: Int, memberId: Int, channelId: String?, orderNumber: String?, url: String?)
    }
}